package esms.action.helper;

import org.apache.log4j.Logger;

import com.thoughtworks.selenium.DefaultSelenium;

import esms.action.ActionInterface;
import esms.manager.RunTimeContext;

public class CloseBrowser implements ActionInterface {

	private static Logger log = Logger.getLogger("CloseBrowserAction");

	public void execute(DefaultSelenium selenium) {
		selenium.stop();
		RunTimeContext.removeBrowser(selenium);
		log.info("Close browser");
	}
}
